#ifndef _m01_spi_
#define _m01_spi_

#include "serial_manager.h"
#include "spi_armeabi.h"

namespace igslib
{
    class m01_spi:public CSpi
    {
        int port;
        public:
            m01_spi();
            virtual bool Open(ChipSelector);
            virtual bool FullDuplexReadWrite(char*,char*,int);
			virtual bool HalfDuplexReadWrite(char*,int,char*,int);
            virtual void Close();
    };
};

#endif
